package com.zr.plant.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by 86151 on 2019/6/14.
 */
@Data
public class PlantUpdateVo {

    @NotNull(message = "修改时，工厂编码不能为空！")
    private String legalPlantCode;

    @NotNull(message = "修改时，状态不能为空！")
    private Boolean enabled;

    @NotNull(message = "修改时，描述不能为空！")
    private String legalPlantDec;
}
